package mazegame;

import java.io.Serializable;


@SuppressWarnings("serial")
public class MazePosition implements Serializable{
	
    int x;
    int y;

    public MazePosition(int x, int y)
    {
        this.x = x;
        this.y = y;
    }

    @Override
    public boolean equals(Object obj)
    {
    	MazePosition pos = (MazePosition) obj;
        if (x == pos.x && y == pos.y)
            return true;
        return false;
    }
    
    @Override
    public int hashCode()
    {
        return 0;
    }

}
